package com.bdqn.qnnews.admin.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author xlzhang
 * @date 2023/6/11 11:02
 */
@Data
@Schema(name = "AdAdminDto 对象", description = "平台管理员登录成功后响应给其他客户端的数据")
public class AdAdminDto {
    @Schema(description = "主键")
    private Integer id;

    @Schema(description = "登录用户名")
    private String name;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String image;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "状态	 0 暂时不可用	 1 永久不可用	 9 正常可用")
    private Byte status;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "最后一次登录时间")
    private LocalDateTime loginTime;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;
}